package org.wattdepot.cli.command;

import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;

/**
 * Test Class for Sources Info - list sources.
 * 
 * @author Remy Baumgarten
 * @author Kevin Chiogioji
 */
public class TestListSources {

  /**
   * Test for Sources Info.
   * 
   * @throws Exception -
   */
  @Test
  public void parentTest() throws Exception {
    ListSources sources = new ListSources();
    List<String> args = new ArrayList<String>();
    assertTrue("Testing SIM_OAHU_GRID has no parent", sources.doCommand(args).contains(
        "SIM_OAHU_GRID  NONE"));
  }
}
